package com.iqiao.common.base;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by flt on 2017/11/6.
 */
public class BaseModel implements Serializable {

    protected Long id; // 主键
    protected Long createBy; // 创建人
    protected Long modifyBy; // 修改人
    protected Boolean isDelete; // 是否删除
    protected Date ctime; // 创建时间
    protected Date mtime; // 更新时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getCreateBy() {
        return createBy;
    }

    public void setCreateBy(Long createBy) {
        this.createBy = createBy;
    }

    public Long getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(Long modifyBy) {
        this.modifyBy = modifyBy;
    }

    public Boolean getDelete() {
        return isDelete;
    }

    public void setDelete(Boolean delete) {
        isDelete = delete;
    }

    public Date getCtime() {
        return ctime;
    }

    public void setCtime(Date ctime) {
        this.ctime = ctime;
    }

    public Date getMtime() {
        return mtime;
    }

    public void setMtime(Date mtime) {
        this.mtime = mtime;
    }
}
